package cn.iocoder.yudao.module.reclaim.controller.admin.productcheckdeductitem.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 回收核验扣除项分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReclaimCheckDeductItemPageReqVO extends PageParam {

    @Schema(description = "核验结果id", example = "30105")
    private Long resId;

    @Schema(description = "扣项名称", example = "李四")
    private String itemName;

    @Schema(description = "扣项原因", example = "不香")
    private String reason;

    @Schema(description = "扣项总价", example = "19023")
    private Integer totalPrice;

    @Schema(description = "扣项价格/单个", example = "9612")
    private Integer price;

    @Schema(description = "扣项计数")
    private Integer itemNumber;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "扣项照片")
    private List<String> itemPic;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}